package cn.stylefeng.guns.modular.sysuser.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import cn.stylefeng.guns.modular.sysuser.entity.SysUser;
import cn.stylefeng.guns.modular.sysuser.pojo.request.SysUserRequest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 系统用户 服务类
 *
 * @author zhu
 * @date 2021/10/21 18:35
 */
public interface SysUserService extends IService<SysUser> {

	/**
     * 新增
     *
     * @param sysUserRequest
     * @author zhu
     * @date 2021/10/21 18:35
     */
    void add(SysUserRequest sysUserRequest);

	/**
     * 删除
     *
     * @param sysUserRequest
     * @author zhu
     * @date 2021/10/21 18:35
     */
    void del(SysUserRequest sysUserRequest);

	/**
     * 编辑
     *
     * @param sysUserRequest
     * @author zhu
     * @date 2021/10/21 18:35
     */
    void edit(SysUserRequest sysUserRequest);

	/**
     * 查询详情
     *
     * @param sysUserRequest
     * @author zhu
     * @date 2021/10/21 18:35
     */
    SysUser detail(SysUserRequest sysUserRequest);

	/**
     * 获取列表
     *
     * @param sysUserRequest
     * @return List<SysUser>
     * @author zhu
     * @date 2021/10/21 18:35
     */
    List<SysUser> findList(SysUserRequest sysUserRequest);

	/**
     * 获取列表（带分页）
     *
     * @param sysUserRequest
     * @return PageResult<SysUser>
     * @author zhu
     * @date 2021/10/21 18:35
     */
    PageResult<SysUser> findPage(SysUserRequest sysUserRequest);

}